Loading
Scriptbox
 VBScript Links 
 About VBscript 
 JavaScript Links 
 About JavaScript 
 Powershell Links 
 PSCRIPT the Script Launcher 
 PowerShell Shortcut Keys 
 About Powershell 
     VBScript
    JavaScript
    Powershell
Disclaimer
Contact
Latest 10 Scripts
Script search
  :: { Category } :: 0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ
         

Search Options:  List  Windows  Product  Activation  Status  

 Content of List Windows Product Activation Status.ps1
MD5 Hash: A132EF5475FD1CD6032924EFF8550738
$strComputer = "."

$colItems = get-wmiobject -class "Win32_WindowsProductActivation" -namespace "root\CIMV2" `
-computername $strComputer

foreach ($objItem in $colItems) {
write-host "Activation Required: " $objItem.ActivationRequired
write-host "Caption: " $objItem.Caption
write-host "Description: " $objItem.Description
write-host "Is Notification On: " $objItem.IsNotificationOn
write-host "Product ID: " $objItem.ProductID
write-host "Remaining Evaluation Period: " $objItem.RemainingEvaluationPeriod
write-host "Remaining Grace Period: " $objItem.RemainingGracePeriod
write-host "Server Name: " $objItem.ServerName
write-host "Setting ID: " $objItem.SettingID
write-host
}


   © 2008 - 2013 Boris Toll      :: Scripts available: 6.481 ::      :: scriptbox.toll.at ::      :: powered by www.toll.at ::
  Google Entries:n/a
  Yahoo Backlinks:n/a
  Live Backlinks:n/a
  del.icio.us Bookmarks:n/a
  Technorati Links:n/a